//
//  AddNewPersonViewController.h
//  SSNDB
//
//  Created by nako on 9/16/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Person.h"
#import <sqlite3.h>

@interface AddNewPersonViewController : 
	UIViewController <UITextFieldDelegate> {
@public
	UITextField     *textFieldName;
	UITextField     *textFieldSSN;
	UITextField     *textFieldTelephone;
	UITextField     *textFieldAddress;	
	UIBarButtonItem *doneButton;
	UIBarButtonItem *saveButton;
}

/* ------------------------------------------- */

@property (nonatomic, retain) 
IBOutlet UITextField   *textFieldName;

@property (nonatomic, retain) 
IBOutlet UITextField   *textFieldSSN;

@property (nonatomic, retain) 
IBOutlet UITextField   *textFieldTelephone;

@property (nonatomic, retain) 
IBOutlet UITextField   *textFieldAddress;

@property (nonatomic, retain) 
UIBarButtonItem *doneButton;

@property (nonatomic, retain) 
UIBarButtonItem *saveButton;

/* ------------------------------------------- */

- (void) setDefaultNavigationBarButtons;
- (void) setEditingModeNavigationBarButtons;

/* ------------------------------------------- */

@end
